package yuque.a1至20.CalculateEContinuously;

import java.util.Scanner;
import java.util.stream.IntStream;

/**
 * ClassName: 根据键盘输入创建指定数值数组
 * Package: yuque
 * Description:
 *
 * @Author fjorid
 * @Create 2025/1/5 19:56
 * @Version 1.0
 */
public class 根据键盘输入创建指定数值数组 {
    public static void main(String[] args) {
        int lowerBound,previousBound;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入所求范围的下届");
        lowerBound = scanner.nextInt();
        System.out.println("请输入所求范围的上届");
        previousBound = scanner.nextInt();
        int arry[] = IntStream.rangeClosed(lowerBound,previousBound).toArray();


    }

}
